<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.team.entity.User" %>
 <%@ page import="com.team.util.Const" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
	<title>新建一个文件夹</title>
	   <link rel="stylesheet" href="css/prettify.css" />
    <link rel="stylesheet" href="css/bootstrap.min.css" />
</head>
<body class="body">
<% 
	User user = (User)session.getAttribute(Const.SESSION_USER); 
 %>
	<div class="navbar navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container">
				<a href="#" class="brand">凯盛项目管理系统</a>
				 <ul class="nav pull-right">
						<li><a class="nav pull-right" href="#">用户名： <%=user.getUsername() %></a></li>
				 </ul>
			</div>
		</div>
	</div>
	<div class="container">
            <div class="span10">
             <c:choose>
			<c:when test="${param.code=='1001'}">
				<div style="color:red;">内容不可以为空</div>
			</c:when>
			<c:when test="${param.code=='1002'}">
				<div style="color:red;">文件夹创建失败</div>
			</c:when>
			<c:when test="${param.code=='1003'}">
				<div style="color:red;">文件夹查找错误</div>
			</c:when>
			<c:when test="${param.code=='1004'}">
				<div style="color:red;">项目创建者填写错误</div>
			</c:when>
			<c:when test="${param.code=='1005'}">
				<div style="color:red;">没有正确传参</div>
			</c:when>
		</c:choose>
		
			<form class="well,form-horizontal" action="newFolder.jspx?_m=save" method="post">
				<fieldset>
				<div class="controls">
					 <label>文件夹名称</label>
						<input type="text" placeholder="请输入文件夹名称" name="folderName">
					<p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>
				</div>
				<div class="controls">
					 <label>文件创建人</label>
						<input type="text" placeholder="请输入文件创建人" name="folderCreater">
					<p class="help-block">In addition to freeform text, any HTML5 text-based input appears like so.</p>
				</div>
			
		       <div class="form-actions">
					 <button href="#" class="btn btn-primary">保存</button>
					<a href="fileshare.jsp" class="btn btn-primary">取消</a>
			   </div>
			   </fieldset>
			</form> 
			
			</div>
      	
	

        
            
         
         
          
 	</div>
  	
</body>
</html>